TORTOISE_ORM = {
    "connections":
        {"default":
            {
                "engine": "tortoise.backends.mysql",
                "credentials": {
                    "host": "localhost",
                    "port": "3306",
                    "user": "root",
                    "password": "wwt52620.",
                    "database": "sosi",
                    "charset": "utf8mb4",
                    "echo": True
                }

            }},
    "apps":
        {"models": {
            # models对应上面创建的models.py
            "models": ["aerich.models", "api.msg.models", "api.user.models"],
            "default_connection": "default",
        }},
    "use_tz": False,
    "timezone": "Asia/Shanghai"
}
